package com.design.model;

/**
 * def
 *
 * @author lw
 * @date 2023/12/4 17:03
 **/
public class Circle implements Shape{

    private double radius;

    public Circle(double radius) {
        this.radius = radius;
    }

    public double getRadius() {
        return radius;
    }

    @Override
    public void accept(ShapeVisitor visitor) {
        visitor.visit(this);
    }
}
